package com.songjiakang.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Record {
	private Integer id           ;
	private Integer studentId   ;
	private Integer dormId      ;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startTime   ;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date endTime     ;
	//添加的列表
	private String floorNo;
	private String dromNo;
	private String count;
	private Integer countren;
	private String name;
	
	
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getCountren() {
		return countren;
	}
	public void setCountren(Integer countren) {
		this.countren = countren;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
	public String getFloorNo() {
		return floorNo;
	}
	public void setFloorNo(String floorNo) {
		this.floorNo = floorNo;
	}
	public String getDromNo() {
		return dromNo;
	}
	public void setDromNo(String dromNo) {
		this.dromNo = dromNo;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getStudentId() {
		return studentId;
	}
	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}
	public Integer getDormId() {
		return dormId;
	}
	public void setDormId(Integer dormId) {
		this.dormId = dormId;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	@Override
	public String toString() {
		return "Record [id=" + id + ", studentId=" + studentId + ", dormId="
				+ dormId + ", startTime=" + startTime + ", endTime=" + endTime
				+ "]";
	}
	public Record(Integer id, Integer studentId, Integer dormId,
			Date startTime, Date endTime) {
		super();
		this.id = id;
		this.studentId = studentId;
		this.dormId = dormId;
		this.startTime = startTime;
		this.endTime = endTime;
	}
	public Record() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
